home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 April: Mac OS SDK / Dev.CD Apr 99 SDK1.toast / Development Kits / Interfaces&Libraries / Universal / Interfaces / PInterfaces / Windows.p < prev    next >
Encoding:
Text File  |  1998-08-17  |  1.3 KB  |  63 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        Windows.p
  3.  
  4.      Contains:    Window Manager Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.2
  8.  
  9.      Copyright:    © 1984-1998 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. }
  17. {
  18.     NOTE
  19.     
  20.     The file Windows.h has been renamed to "MacWindows.h" to prevent a collision
  21.     with the Microsoft Windows(tm) header file "Windows.h".  MacOS only developers may 
  22.     continue to use #include <Windows.h>.  Developers doing cross-platform work where 
  23.     Windows.h also exists should change their sources to use #include <MacWindows.h>
  24. }
  25. {$IFC UNDEFINED UsingIncludes}
  26. {$SETC UsingIncludes := 0}
  27. {$ENDC}
  28.  
  29. {$IFC NOT UsingIncludes}
  30.  UNIT Windows;
  31.  INTERFACE
  32. {$ENDC}
  33.  
  34. {$IFC UNDEFINED __WINDOWS__}
  35. {$SETC __WINDOWS__ := 1}
  36.  
  37. {$I+}
  38. {$SETC WindowsIncludes := UsingIncludes}
  39. {$SETC UsingIncludes := 1}
  40.  
  41. {$IFC UNDEFINED __CONDITIONALMACROS__}
  42. {$I ConditionalMacros.p}
  43. {$ENDC}
  44.  
  45. {$IFC TARGET_OS_MAC }
  46. {$IFC UNDEFINED __MACWINDOWS__}
  47. {$I MacWindows.p}
  48. {$ENDC}
  49. {$ELSEC}
  50. {
  51.     If you get here, your development environment is messed up.
  52.     This file is for MacOS development only.
  53. }
  54. {$ENDC}  {TARGET_OS_MAC}
  55.  
  56. {$SETC UsingIncludes := WindowsIncludes}
  57.  
  58. {$ENDC} {__WINDOWS__}
  59.  
  60. {$IFC NOT UsingIncludes}
  61.  END.
  62. {$ENDC}
  63.